#!groovy
@Library('jenkinslib@master') _
def tools = new org.devops.toolscolor() 

pipeline {
    agent {
        node {
            label 'master01'
        }
    }

    stages{     
        stage('编译'){
            steps {
              script {
                tools.PrintMes('this is my library','green')
                     }  
            }
            }
         
    } //stages 

    post{
      always{
        script{
          println('always do this') 
        }
      }   
    } //post
    
}